package com.cc.model.dto

import jakarta.validation.constraints.NotNull
import jakarta.validation.constraints.Size
import java.io.Serializable
import java.time.LocalDateTime

/**
 * DTO for {@link com.cc.model.DatabaseType}
 */
data class DatabaseTypeDto(
    @field:NotNull @field:Size(max = 32) val id: String? = null,
    @field:Size(max = 100) val code: String? = null,
    @field:Size(max = 300) val description: String? = null,
    val addTime: LocalDateTime? = null,
    @field:Size(max = 32) val addUser: String? = null,
    val editTime: LocalDateTime? = null,
    @field:Size(max = 32) val editUser: String? = null,
    val delFlag: Int? = null
) : Serializable
